-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make KFTO pytorch-job MultiNode training mnist test compatible for disconnected environment #297
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
170cd07
to
f023590
Compare
|
@@ -298,6 +304,53 @@ func createKFTOPyTorchMnistJob(test Test, namespace string, config corev1.Config | |||
} | |||
} | |||
|
|||
if storage_bucket_endpoint_exists && storage_bucket_access_key_id_exists && storage_bucket_secret_key_exists && storage_bucket_name_exists && storage_bucket_mnist_dir_exists { | |||
tuningJob.Spec.PyTorchReplicaSpecs["Master"].Template.Spec.Containers[0].Env = []corev1.EnvVar{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This approach overrides existing env variables.
Can you rather append the AWS env variables to existing env variables?
Description
Depends on : #295
Once above PR is merged, this PR can be rebased with main origin
Updates made in this PR : Commit : 170cd07
How Has This Been Tested?
For running test using AMD GPUs, use ROCM image :
quay.io/modh/ray@sha256:db667df1bc437a7b0965e8031e905d3ab04b86390d764d120e05ea5a5c18d1b4
Merge criteria: